﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ValidateCard.aspx.cs" Inherits="WebSite.cn.ValidateCard" %>


<%@ Register Src="head.ascx" TagName="head" TagPrefix="uc1" %>
<%@ Register Src="category.ascx" TagName="category" TagPrefix="uc2" %>
<%@ Register Src="bottom.ascx" TagName="bottom" TagPrefix="uc3" %>
<%@ Register Src="leftimg.ascx" TagName="leftimg" TagPrefix="uc4" %>

<%@ Register assembly="CustomList" namespace="CustomList" tagprefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title><%=WebSite.info.info1("", "shoptitle")%></title>
    <meta name="Description" content="<%=WebSite.info.info1("","shopcontent")%>" /> 
    <meta name="Keywords" content="<%=WebSite.info.info1("","shopkey")%>" />
    <link href="style.css" rel="stylesheet" type="text/css" />
    <script language="javascript">
        function locheck() {
            if (lofrm.luser.value == "") {
                alert('请输入用户名!');
                lofrm.luser.focus();
                return false;
            }
            if (lofrm.lpas.value == "") {
                alert('请输入密码!');
                lofrm.lpas.focus();
                return false;
            }
        }
        function oclicks() {
            order.orderkey.value = "";
        }
        function oclick() {
            if (order.orderkey.value == "请输入订单号") {
                order.orderkey.value = "";
            }
            if (order.orderkey.value == "") {
                alert('请输入订单号!');
                order.orderkey.focus();
                return false;
            }
        }
    </script>
    <style type="text/css">
        .style1
        {
            width: 434px;
        }
    </style>
</head>
<body>

    <center>
	<uc1:head ID="head_1" runat="server" />
<div id="container">

   	<form id="form1" runat="server">
      
      <div id="divLogin" runat="server" style=" float:left; width:100%; margin-top:20px;">
        <table border="0" cellpadding="0" cellspacing="1" bgcolor="ebcdcf"   
              style="width: 46%">
          <tr>
            <td height="28" align="center" bgcolor="#FFFBF4" class="style1"><strong class="newslist_title">请输入礼品卡与密码后查询</strong></td>
          </tr>
          <tr>
            <td height="120" align="center" bgcolor="#FFFFFF" class="style1">
            <table border="0" cellspacing="0" cellpadding="0" style="width: 97%">
           
           
              <tr bgcolor="#94B1C0">
                <td width="30%" height="28" align="right" bgcolor="#FFFFFF">卡　号：</td>
                <td width="70%" align="left" bgcolor="#FFFFFF">　
                  <asp:TextBox ID="txtCardCode" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="txtCardCode" ErrorMessage="卡号不能为空！"></asp:RequiredFieldValidator>
                  </td>
              </tr>
              <tr bgcolor="#94B1C0">
                <td height="28" align="right" bgcolor="#FFFFFF">密　码：</td>
                <td align="left" bgcolor="#FFFFFF">　
                    <asp:TextBox ID="txtPassword" TextMode="Password" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="txtPassword" ErrorMessage="密码不能为空！"></asp:RequiredFieldValidator>
                    </td>
              </tr>
                <tr bgcolor="#94B1C0">
                <td height="28" align="right" bgcolor="#FFFFFF">验证码：</td>
                <td align="left" bgcolor="#FFFFFF">　
                    <asp:TextBox ID="txtValidate"  runat="server" Width="60px"></asp:TextBox>
                     <asp:Image ID="Image1" runat="server" Height="24px" ImageAlign="Middle" ImageUrl="~/admin/CheckCode.aspx" Width="68px" />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ControlToValidate="txtValidate" ErrorMessage="验证码不能为空！"></asp:RequiredFieldValidator>
                    </td>
              </tr>
              <tr bgcolor="#94B1C0">
                <td height="28" colspan="2" align="center" bgcolor="#FFFFFF">
                    <asp:Label ID="lblMessage" runat="server" ForeColor="Red" ></asp:Label>
                  </td>
              </tr>
              <tr bgcolor="#94B1C0">
                <td height="28" colspan="2" align="center" bgcolor="#FFFFFF">
  
                   <asp:Button ID="txtSubmit" class="button" runat="server"  Text="提 交" onclick="txtSubmit_Click"></asp:Button>
                  &nbsp;
                  <input type="reset" class="button" value="重 置" name="reset" /></td>
              </tr>
            </table></td>
          </tr>
        </table>
        <br />
        <br />
      </div>


    </form>
   
</div>   
</center>
	<uc3:bottom ID="bottom_1" runat="server" />
</body>
</html>
